<%@ Reference Page="~/blog.aspx" %>
<%@ Page language="vb" Inherits="_2bMatesSite.group_welcome" CodeFile="group_welcome.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
	<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<tr>
			<td class="page_title" colSpan="2"><asp:literal id="litGroupName" runat="server"></asp:literal></td>
			<td class="page_title_right_text" align="right" valign="top"><asp:HyperLink id="hlGroupsMain"  runat="server" NavigateUrl="../groups_main.aspx">Back to Groups Main</asp:HyperLink></td>
		</tr>
		<tr id="trUserCanceledMessage" runat=server class="hidden">
			<td align=center height="20" colspan=3><asp:label id="lblErrMessageCanceled" runat=server cssclass="main_text_err">This member has cancelled their membership.</asp:label></td>
		</tr>	
		<tr>
			<td class="small" vAlign="top" width="340" height="100%">
				<!-- Group profile -->
				<table class="welcome_table_border" cellSpacing="0" cellPadding="0" width="340" border="0">
					<tr>
						<td align="center" class="welcome_content">
							<table cellSpacing="0" cellPadding="10" width="100%" border="0">
								<tr>
									<td vAlign="top" align="left" width="80"><asp:image id="imgGroupPicture" CssClass="welcome_image	" runat="server" ImageUrl="../images/default_thumbnail.gif"></asp:image><br>
									</td>
									<td  vAlign="top" align="left" class="main_text">
									<asp:Label id="lblProfileViewedNum" runat="server" cssclass="profiled_viewed">0</asp:Label>
									<br/><asp:HyperLink id="hlViewGroupProfile" cssclass="main_text" runat="server">View Group Profile</asp:HyperLink> |
										<asp:HyperLink id="hlEditGroupProfile" cssclass="main_text" runat="server">Edit Group Profile</asp:HyperLink>
										<br><br>
										<asp:HyperLink id="hlUploadGroupPhotos" cssclass="main_text_bold" runat="server">Upload/Change Group images</asp:HyperLink>
										<br>
										<asp:HyperLink id="hlUploadGroupSong" cssclass="main_text_bold" runat="server">Upload/Change clip/songs</asp:HyperLink></td>
								</tr>
								<tr>
									<td colSpan="2"><asp:hyperlink id="hlPhotosLink" runat="server" CssClass="main_text" Font-Bold="True"></asp:hyperlink></td>
								</tr>
								<tr>
									<td colspan="2" class="small">&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<!-- End Group profile -->
				<br/><img src="images/spacer.gif" width="1" height="2"><br/>
				<!-- Upload Photo  --><asp:table id="tblNotes" runat="server" CellPadding="6" border="0" CellSpacing="1" width="340" cssclass="notes"></asp:table>
				<!-- End Upload Photo  -->
				<br/><img src="images/spacer.gif" width="1" height="2"><br/>
				<table class="welcome_table_border" cellSpacing="0" cellPadding="0" width="340" border="0">
					<tr>
						<td width="96" valign="top"><a name="tips" class="small"></a><img src="images/tip_image.gif" width="96" height="62" /></td>
						<td class="main_text" width="330"><b><asp:Label id="lblTipMain" runat="server">Tip:</asp:Label></b>  <asp:Label id="lblTip" CssClass="main_text" runat="server">Label</asp:Label></font>
							<font class="welcome_next_tip">[ <asp:HyperLink id="hlMoreTips" cssclass="welcome_next_tip" runat="server">More Tips</asp:HyperLink>]</font>
						</td>
					</tr>
				</table>
				<br/><img src="images/spacer.gif" width="1" height="6"><br/>
				<table class="welcome_table_border" cellSpacing="0" cellPadding="0" width="340" border="0">
					<tr>
						<td align="center">
							<table cellSpacing="0" cellPadding="0" width="315" border="0">
								<!-- Group Inbox  -->
								<tr>
									<td class="small" colspan="2" height="11">&nbsp;</td>
								</tr>
								<tr>
									<td class="welcome_page_title_in" colSpan="2" height="21"><b><asp:Label id="lblGroupMessages" runat="server">Group Messages</asp:Label></b></td>
								</tr>
								<tr>
									<td valign="top" colspan="2"><div class="welcome_left_padding">
										<table cellpadding="0" cellspacing="0" border="0" width="99%" class="main_text_bold">
											<tr>
												<td class="small" colspan="2" height="9">&nbsp;</td>
											</tr>
											<tr>
												<td valign="top"><asp:hyperlink id="hlInbox" runat="server" navigateurl="../messages_inbox.aspx" cssclass="main_text_bold">Inbox</asp:hyperlink></td>
												<td align="right"><asp:label id="lblNewMessages" runat="server" cssclass="main_text_err">Label</asp:label></td>
											</tr>
											<tr>
												<td><asp:hyperlink id="hlMembersComments" runat="server" CssClass="main_text_bold">Members Comments</asp:hyperlink></td>
												<td align="right"><asp:label id="lblNewComments" runat="server" cssclass="main_text_err">Label</asp:label></td>
											</tr>
											<tr>
												<td><asp:hyperlink id="hlGroupBulletins" runat="server" cssclass="main_text_bold">Group Bulletin Board</asp:hyperlink></td>
												<td align="right"><asp:label id=lblNewGroupBulletins runat="server" cssclass="main_text_err">Label</asp:label></td>
											</tr>
											<tr>
												<td valign="top"><asp:hyperlink id="hlGroupBlogs" runat="server" cssclass="main_text_bold">Group Blog</asp:hyperlink></td>
												<td align="right"><asp:label id="lblNewGroupBlogs" runat="server" cssclass="main_text_err"></asp:label></td>
											</tr>
											<tr>
												<td class="small" colspan="2" height="9">&nbsp;</td>
											</tr>
										</table></div>
									</td>
								</tr>					
								<!-- End Group Inbox  -->
								<!-- Group Bulletin Board  -->
								<tr>
									<td class="welcome_page_title_in"><asp:Label id="lblGroupBulletinBoard" runat="server">Group Bulletin Board</asp:Label></td>
									<td class="welcome_page_title_in" valign="middle" align="right"><asp:hyperlink id="hlAllBulletin" runat="server" CssClass="welcome_page_title_in">View All Bulletin Entries&nbsp;></asp:hyperlink></td>
								</tr>								
								<tr>
									<td vAlign="top" class="small" align="left" colSpan="2">
										<div class="welcome_left_padding">
										<asp:datagrid id="dgBulletins" runat="server" CellPadding="0" Width="100%" GridLines="None" AutoGenerateColumns="False">
											<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
											<HeaderStyle CssClass="data_grid_header"></HeaderStyle>
											<Columns>
												<asp:boundcolumn datafield="Date" headertext="Date">
													<headerstyle width="20%"></headerstyle>	
												</asp:boundcolumn>
												<asp:TemplateColumn HeaderText="From">
												<headerstyle width="25%"></headerstyle>	
													<ItemStyle CssClass="data_grid"></ItemStyle>
													<ItemTemplate>
														<asp:Hyperlink id=hlSender CssClass="main_text_bold" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>'  onclick='<%# DataBinder.Eval(Container.DataItem, "OnClickJS") %>'>
															<b><%# DataBinder.Eval(Container.DataItem, "SenderName") %></b>
														</asp:Hyperlink>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn HeaderText="Subject">
												<headerstyle width="55%"></headerstyle>	
													<ItemTemplate>
														<asp:HyperLink id="hlSubject" CssClass="main_text_bold" runat="server" NavigateURL='<%# DataBinder.Eval(Container.DataItem, "ViewMsgURL") %>'>
															<b><%# DataBinder.Eval(Container.DataItem, "Subject") %></b>
														</asp:HyperLink>
														<ItemStyle CssClass="data_grid"></ItemStyle>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle VerticalAlign="Top" Visible="False" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
										</asp:datagrid>
										<asp:label id="lblEmptyBulletins" runat="server" Visible="False" cssclass="main_text">Let your group members know what is going on!<br></asp:label></div></td>
									</tr>
									<tr>
										<td colspan="2"><img src="images/spacer.gif" width="1" height="4"/></td>
									</tr>
									<tr>
										<td colspan="2"><div class="welcome_left_padding"><asp:hyperlink id="hlPostBulletin" cssclass="welcome_posts" runat="server" Font-Bold="True" NavigateUrl="#">Post new group bulletin</asp:hyperlink><br/><br/></div></td>
								</tr>
								<!-- End Group Bulletin Board  -->								
								<!-- User Blog  -->
								<tr>
									<td class="welcome_page_title_in"><asp:Label id="lblGroupBlog" runat="server">Group Blog</asp:Label></td>
									<td class="welcome_page_title_in" align="right"><asp:hyperlink id="hlAllBlog" runat="server" CssClass="welcome_page_title_in" NavigateUrl="../#">View All Blog Entries&nbsp;></asp:hyperlink></td>
								</tr>
								<tr>
									<td vAlign="top" align="left" colSpan="2">
										<div class="welcome_left_padding">
										<asp:datagrid id="dgBlog" runat="server" CellPadding="0" Width="100%" GridLines="None" AutoGenerateColumns="False">
											<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
											<HeaderStyle CssClass="data_grid_header"></HeaderStyle>
											<Columns>
												<asp:BoundColumn DataField="Date" HeaderText="Date"></asp:BoundColumn>
												<asp:TemplateColumn HeaderText="Blog">
													<ItemTemplate>
														<asp:HyperLink id=Hyperlink2 CssClass="main_text" runat="server" NavigateURL='<%# DataBinder.Eval(Container.DataItem, "ViewMsgURL") %>'>
															<%# DataBinder.Eval(Container.DataItem, "Subject") %>
														</asp:HyperLink>
														<ITEMSTYLE CssClass="data_grid"></ITEMSTYLE>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle VerticalAlign="Top" Visible="False" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
										</asp:datagrid><asp:label id="lblEmptyBlog" runat="server" Visible="False" cssclass="clear">You have not posted any group blogs yet. Give it a try, you can always delete it, if you don't like it!</asp:label></div></td>
									</tr>
									<tr>
										<td colspan="2"><img src="images/spacer.gif" width="1" height="4"/></td>
									</tr>
									<tr>
										<td colspan="2"><div class="welcome_left_padding"><asp:hyperlink id="hlPostGroupBlog" CssClass="welcome_posts" runat="server" Font-Bold="True" NavigateUrl="#">Post new group blog</asp:hyperlink><br/><br/></div></td>
								</tr>
								<!-- End User Blog  --></table>
						</td>
					</tr>
				</table>
			</td>
			<td class="small" width="10">&nbsp;</td>
			<td class="small" vAlign="top" width="419" height="100%">
				<table class="main_table_border" height="100%" cellSpacing="1" cellPadding="0" width="419" border="0">
					<tr>
						<td vAlign="top" align="center" height="100%">
							<table cellSpacing="0" cellPadding="0" width="395" border="0">
								<tr>
									<td class="small" height="7">&nbsp;</td>
								</tr>
								<tr>
									<td class="welcome_page_subtitle"><b><asp:label id="lblGroupMenu" runat="server">Group Menu</asp:label></b></td>
								</tr>
								<tr>
									<td class="small" height="3">&nbsp;</td>
								</tr>								
								<tr>
									<td align="center" valign="top">
										<div class="member_right_padding">
										<table width="100%" cellspacing="0" cellpadding="0" border="0">
											<tr>
												<td><asp:hyperlink id="hlGroupsMain1" runat="server" navigateurl="../groups_main.aspx" cssclass="main_text_bold">Groups Main</asp:hyperlink></td>
												<td><asp:hyperlink id="hlGroupsSearch" runat="server" navigateurl="../adv_grp_search.aspx" cssclass="main_text_bold">Groups Search</asp:hyperlink></B></td>
												<td><asp:hyperlink id="hlGroupCategories" runat="server" navigateurl="../group_categories.aspx" cssclass="main_text_bold">Group Categories</asp:hyperlink></td>
												<td><asp:HyperLink id="hlInviteToGroup" cssclass="main_text_bold" runat="server">Invite to group</asp:HyperLink></td>
											</tr>
											<tr>
												<td colspan="4"><asp:hyperlink id="hlGroupFavourites" runat="server" navigateurl="../view_favourite_groups.aspx" cssclass="main_text_bold">Group Favourites</asp:hyperlink>&nbsp;</td>
											</tr>
										</table></div>
									</td>
								</tr>	
								<tr>
									<td class="small" height="7">&nbsp;</td>
								</tr>							
								<tr>
									<td align="right">
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td class="welcome_page_title_in"><asp:Label id="lblCoolPeople" runat="server">Cool People in 2Bmates Network</asp:Label></td>
												<td class="welcome_page_title_in" align="right"><asp:HyperLink id="hlViewMorePeople" cssclass="welcome_page_title_in" runat="server">View More People</asp:HyperLink></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td align="left"><div class="welcome_right_padding">
										<asp:label id="lblNoNewPeople" runat="server" CssClass="main_table_padding" Visible="False">Expand your network to meet cool new people. </asp:label>
											<asp:table id="tblNewPeople" runat="server" width="389" cellpadding="0" cellspacing="0">
											<asp:TableRow VerticalAlign="Top">
												<asp:TableCell VerticalAlign="Top">
													<asp:datalist id="dlNewPeople" runat="server" CssClass="data_list" CellPadding="0" Width="100%" RepeatColumns="4" HorizontalAlign="Left" BorderWidth="0px" ShowHeader="False" ShowFooter="False" RepeatDirection="Horizontal">
														<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" width="25%"></ItemStyle>
														<ItemTemplate>
															<table cellspacing="0" cellpadding="0" border="0">
																<tr>
																	<td align="center"><asp:hyperlink id="hlName" CssClass="main_text_bold" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' onclick='<%# DataBinder.Eval(Container.DataItem, "OnClickJS") %>'><%# DataBinder.Eval(Container.DataItem, "Name") %></asp:hyperlink></td>
																</tr>
																<tr>
																	<td align="center" valign="top"><asp:hyperlink id="hlMemberPhoto" CssClass="data_grid" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' onclick='<%# DataBinder.Eval(Container.DataItem, "OnClickJS") %>'>
																		<asp:image id="Image2" runat="server" CssClass="small_image" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImageURL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "FullName") %>'></asp:image></asp:hyperlink></td>
																</tr>
																<tr>
																	<td valign="top" align="center" class="small"><asp:image id="imgOnline" cssclass="online_image" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>' ></asp:image></td>
																</tr>
															</table>
														</ItemTemplate>
													</asp:datalist>
												</asp:TableCell>
											</asp:TableRow>
										</asp:table></div>
									</td>
								</tr>
								<!-- BEGIN Advertisement -->
								<!--<tr>
									<td class="small"><hr></td>
								</tr>
								<tr>
									<td class="blue" align="center"><asp:Literal id="litGroupWelcomeAdvertisement" runat=server></asp:literal></td>
								</tr>-->
								<!-- END Advertisement -->
								<tr>
									<td align="right">
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td class="welcome_page_title_in"><font class="dynamic_number"><%=sMembersCount%></font>&nbsp;<asp:Label id="lblGroupMembers" runat="server">Group Members</asp:Label></td>
												<td class="welcome_page_title_in" align="right"><asp:hyperlink id="hlSeeAllMembersUp" cssclass="welcome_page_title_in" runat="server" NavigateUrl="../#">See all members&nbsp;></asp:hyperlink></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td class="small_paragraph_orange" vAlign="middle" align="right"><b><asp:hyperlink id="hlViewConfirmation" cssclass="small_paragraph_orange" runat="server" Visible="False"></b></asp:hyperlink></td>
								</tr>
								<tr>
									<td align="left"><div class="welcome_right_padding">
										<asp:label id="lblNoMembers" runat="server" CssClass="main_text" Visible="False">No members registered yet.</asp:label>
											<asp:table id="tblMembers" runat="server" width="389" CellSpacing="0" CellPadding="0">
											<asp:TableRow VerticalAlign="Top">
												<asp:TableCell VerticalAlign="Top">
													<asp:DataList  runat="server" Width="100%" ShowFooter="False" BorderWidth="0px" ShowHeader="False" HorizontalAlign="Left" RepeatColumns="4" CssClass="data_list" RepeatDirection="Horizontal" ID="dlAllMembers" CellPadding="0">
														<ItemTemplate>
															<table cellspacing="0" cellpadding="0" border="0">
																<tr>
																	<td align="center"><asp:hyperlink id="hlName" cssclass="main_text_bold" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' ><%# DataBinder.Eval(Container.DataItem, "Name") %></asp:hyperlink></td>
																</tr>
																<tr>
																	<td valign="top" align="center">
																		<asp:hyperlink id="hlMemberURLPhoto" CssClass="data_grid" runat="server" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' ><asp:image id="imgPhoto" runat="server" CssClass="small_image" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImageURL") %>' CommandName="MemberRedirect" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "FriendID") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "FullName") %>'></asp:image></asp:hyperlink></td>
																</tr>
																<tr>
																	<td align="center"><asp:image id="Image1" cssclass="online_image" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>' ></asp:image></td>
																</tr>
															</table>
														</ItemTemplate>
														<ItemStyle HorizontalAlign="Left" Width="25%" VerticalAlign="Top"></ItemStyle>
													</asp:DataList>
												</asp:TableCell>
											</asp:TableRow>
										</asp:table></div>
									</td>
								</tr>
								<tr>
									<td class="small" align="center"><div class="welcome_right_padding">
										<table cellSpacing="0" cellPadding="0" width="389" border="0">
											<tr>
												<td class="small" colSpan="2"><img src="images/spacer.gif" width="100%" height="1" class="spacer_color"></td>
											</tr>
											<tr>
												<td align="left"><asp:hyperlink id="hlSeeAllMembersDown" cssclass="welcome_posts" runat="server" Font-Bold="True" NavigateUrl="../#">See all members</asp:hyperlink></td>
												<td vAlign="top" align="right"><asp:image id="imgAddMembers" runat="server" ImageUrl="../images/add_friends.gif" ImageAlign="AbsMiddle"></asp:image><asp:linkbutton id="lbAddMembers" runat="server" CssClass="welcome_posts" onclick="lbAddMembers_Click">Add Members</asp:linkbutton>&nbsp;&nbsp;&nbsp;<asp:image id="imgEditMembers" runat="server" ImageUrl="../images/edit_friends.gif" ImageAlign="AbsMiddle"></asp:image><asp:linkbutton id="lbEditMembers" runat="server" CssClass="welcome_posts" onclick="lbEditMembers_Click">Edit Members</asp:linkbutton>&nbsp;&nbsp;</td>
											</tr>
										</table></div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td class="small" colSpan="3" height="10">&nbsp;</td>
		</tr>
		<!--
	<tr>
		<td class="small" width="340">
			<table class="border_tips" cellSpacing="1" cellPadding="0" width="340" border="0">
				<tr>
					<td class="small" width="10">&nbsp;</td>
					<td class="invite_friends_orange" width="330"><b>Tip: </b><font class="invite_friends_blue">
							<b>Invite</b> your non-single friends to join <b>2Bmates</b> too!</font>
						<br>
						<br>
						<div align="right"><font class="more_tips">[ <A href="#">More Tips...</A>]</font></div>
					</td>
				</tr>
			</table>
		</td>
		<td class="small" width="10">&nbsp;</td>
		<td class="small" vAlign="top" width="419">
			<table class="border_adv" cellSpacing="1" cellPadding="0" width="419" border="0">
				<tr>
					<td class="small" width="10">&nbsp;</td>
					<td class="advertisement" width="199"></td>
				</tr>
			</table>
		</td>
	</tr>-->
	<asp:literal id="litTips" runat=server></asp:literal>
	</table>
</form>
